import { app, BrowserView, protocol, nativeTheme, BrowserWindow } from 'electron'

export default () => {
  let win: BrowserWindow
  const init = () => {}
  const createWindow = async () => {
    win = newBrowserWindow({
      width: 1000,
      height: 600,
      webPreferences: {
        nodeIntegration: true,
        enableRemoteModule: true,
        contextIsolation: false,
        webSecurity: false,
        preload: path.join(__dirname, 'preload.js')
      }
    })
  }
}
